<?php

namespace JsonLowCode\Form\Fields;

use JsonLowCode\Form\Traits\HasPlaceholder;

class ListField extends DynamicInputField
{
    protected string|null $placeholder = null;

    use HasPlaceholder;

    protected function render(): void
    {
        if ($this->placeholder!=null){
            $this->element->placeholder($this->placeholder);
        }
    }
}
